package {base_package}.service;

import {base_package}.dao.{cap_table_name}Mapper;
import {base_package}.entity.{cap_table_name};

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class {cap_table_name}ServiceImpl implements {cap_table_name}Service _{_
	@Autowired
	private {cap_table_name}Mapper mapper;

	@Override
	public List<{cap_table_name}> select{cap_table_name}({cap_table_name} {low_table_name}) _{_
		return mapper.select{cap_table_name}({low_table_name});
	_}_

	@Override
	public void delete{cap_table_name}(Map<String, Object> param) _{_
		mapper.delete{cap_table_name}(param);
	_}_

	@Override
	public void insert{cap_table_name}({cap_table_name} {low_table_name}) _{_
		mapper.insert{cap_table_name}({low_table_name});
	_}_

	@Override
	public void update{cap_table_name}({cap_table_name} {low_table_name}) _{_
		mapper.update{cap_table_name}({low_table_name});
	_}_
_}_
